package com.woniuxy.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 服务菜单表
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ServerMenu implements Serializable {
    private Long id;    //主键

    private String serverName;   //服务名称

    private String serverImg;     //服务图片

    private String description;    //服务描述

    private Long parentId;       //父id

    private Date createTime;      //创建时间

    private Date updateTime;       //修改时间

    private Integer status;       //审核状态

    private String creator;       //创建人

    private List<ServerMenu> submenus;    //子菜单
}